<template>
    <div class="header">
        <span>
            廊坊
            <el-icon :size="10">
                <CaretBottom/>
            </el-icon>
        </span>
        <div class="Input">
            <div class="search">
                <el-icon :size="20" color="#9B9DA0">
                    <Search style="width: 1em; height:100%;"/>
                </el-icon>
            </div>
            <input class="input" type="text" placeholder="搜索品牌、级别">
            <div class="search camera">
                <el-icon :size="20" color="#9B9DA0">
                    <Camera  style="width: 1em; height:100%;"/>
                </el-icon>
            </div>
        </div>
        <div class="search">
            <el-icon :size="20" color="black">
                <ChatDotRound  style="width: 1em; height:100%;"/>
            </el-icon>
        </div>
    </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import {ElIcon} from 'element-plus'
import { Search } from '@element-plus/icons-vue'
export default defineComponent({
    components:{
        // ElInput,
        ElIcon,
    },
    setup () {
        const input ='';
        return {
            input
        }
    }
})
</script>

<style scoped>
.input{
    height:70px;
    width:80%;
}
.header{
    display:flex;
    height:70px;
    padding:10px;
}
span{
    display:inline-block;
    font-size:14px;
    text-align:center;
    line-height:70px;
}
input{
    border: 0;
    outline: none;
}
.Input{
    width:80%;
    display: flex;
    border:3px solid #3A62CA;
    border-radius:10px;
    height:70px;
    position:relative;
    background-color: white;
}
.search{
    line-height:70px;
    margin-left:10px ;
    margin-right:10px;
}
.camera{
    position:absolute;
    right:0;
}
</style>